package com.dream.system.service;

import java.util.Map;

import com.dream.model.Sys_Lable;

public interface ISysLable  {

	/**
	 * 增加标签
	 */
	int addSysLable(Sys_Lable model);

	/**
	 * 查询所有标签
	 * @param model
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	Map getAllLable(Sys_Lable model);

	/**
	 * 删除一个标签
	 * @param model
	 * @return
	 */
	int deleteLable(Sys_Lable model);
	
	/**
	 * 编辑一个标签
	 * @param model
	 * @return
	 */
	int updateSysLable(Sys_Lable model);
	
	/**
	 * 增加一个标签，并返回这个标签 
	 * @param model
	 * @return
	 */
	Sys_Lable addSysLable1(Sys_Lable model);
	/**
	 * 
	 * 查询专家的树
	 * @param model
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	Map getAllLableTree(Sys_Lable model);
    /**
     * 增加一人lable
     * @param model
     * @return
     */
	Sys_Lable addSysLable2(Sys_Lable model);

}
